xen/arm: fix GIC_INVALID_LR
authorStefano Stabellini <sstabellini@kernel.org>
Thu, 22 Dec 2016 02:15:10 +0000 (18:15 -0800)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 16 Mar 2017 20:53:33 +0000 (13:53 -0700)
commitd31d0cd810b038f4711553d07b26aee6f4b80934
tree4c774833328a1e5ecdc361980a6b22c2a4470b60
parentb2e678e81dd9635eb33279e2817168d13b78c1fa
xen/arm: fix GIC_INVALID_LR

GIC_INVALID_LR should be 0xff, but actually, defined as ~(uint8_t)0, is
0xffffffff. Fix the problem by placing the ~ operator before the cast.

Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Julien Grall <julien.grall@arm.com>
xen/include/asm-arm/vgic.h